package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 车务充值下发信息对象 erp_car_card_manage_info
 *
 * @author cxl
 * @date 2024-09-08
 */
@TableName ("erp_car_card_manage_info")
@ApiModel (value = "车务充值下发信息", description = "车务充值下发信息")
@Data
public class CarCardManageEntity{

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 申请组织 */
    @ApiModelProperty ("申请组织")
    @TableField ("apply_org")
    @Excel (name = "申请组织")
    private String applyOrg;

    /** 单号 */
    @ApiModelProperty ("单号")
    @TableField ("doc_code")
    @Excel (name = "单号")
    private String docCode;

    /** 日期 */
    @ApiModelProperty ("日期")
    @TableField ("doc_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date docTime;

    /** 业务类型（0圈存；1下发） */
    @TableField ("doc_type")
    @ApiModelProperty ("${field.name}")
    @Excel (name = "业务类型", readConverterExp = "0=圈存；1下发")
    private Integer docType;

    /** 总卡 */
    @ApiModelProperty ("总卡")
    @TableField ("car_card_id")
    @Excel (name = "总卡")
    private String carCardId;

    /** 账户余额 */
    @ApiModelProperty ("账户余额")
    @TableField ("account_balance")
    @Excel (name = "账户余额")
    private String accountBalance;

    /** 充值金额 */
    @ApiModelProperty ("充值金额")
    @TableField ("recharge_amount")
    @Excel (name = "充值金额")
    private String rechargeAmount;

    /** 创建部门 */
    @ApiModelProperty ("创建部门")
    @TableField ("create_dept")
    @Excel (name = "创建部门")
    private String createDept;

    /** 修改部门 */
    @ApiModelProperty ("修改部门")
    @TableField ("update_dept")
    @Excel (name = "修改部门")
    private String updateDept;

    /** 作废人 */
    @ApiModelProperty ("作废人")
    @TableField ("invalid_by")
    @Excel (name = "作废人")
    private String invalidBy;

    /** 作废部门 */
    @ApiModelProperty ("作废部门")
    @TableField ("invalid_dept")
    @Excel (name = "作废部门")
    private String invalidDept;

    /** 是否可用 */
    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    @Excel (name = "是否可用")
    private Integer isUsed;

    /** 流程实例ID */
    @ApiModelProperty ("流程实例ID")
    @TableField ("instance_id")
    @Excel (name = "流程实例ID")
    private String instanceId;

    /** 状态 */
    @ApiModelProperty ("状态")
    @TableField ("state")
    @Excel (name = "状态")
    private String state;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    @Excel (name = "创建人")
    private String createBy;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel (name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 修改人 */
    @ApiModelProperty ("修改人")
    @TableField ("update_by")
    @Excel (name = "修改人")
    private String updateBy;

    /** 修改时间 */
    @ApiModelProperty ("修改时间")
    @TableField ("update_time")
    @JsonFormat (pattern = "yyyy-MM-dd")
    @Excel (name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateTime;


}
